package com.example.eliteedu_prism.EliteEdu_Prism.service.impl;


import com.example.eliteedu_prism.EliteEdu_Prism.mapper.LoginMapper;
import com.example.eliteedu_prism.EliteEdu_Prism.pojo.User;
import com.example.eliteedu_prism.EliteEdu_Prism.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServImpl implements LoginService {

    @Autowired
    private LoginMapper loginMapper;
    @Override
    public User login(User user) {
        return loginMapper.login(user);
    }
}
